package com.zb.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/7/7 0007
 **/
@ApiModel(value = "登录实体对象")
@Data
public class LoginDto {
    @ApiModelProperty(value = "登录类型：1-账号/手机号密码，2-验证码", required = true)
    private int type;
    @ApiModelProperty(value = "手机号/登录账号", required = true)
    private String phone;
    @ApiModelProperty(value = "登录密码/验证码", required = true)
    private String password;
    @ApiModelProperty(value = "记住我：true-是，false-否")
    private boolean rememberMe = false;

}
